#include <stdio.h>
#include <stdlib.h>
#include "coid/svc/coidsvc.h"
//{client 
#include "coid/comm/binstream/stlstream.h"
//}client 
#include "../Master/client/master_client.h"

class CSlave
{
public:
   CSlave();
   // Here we put the things from constructor
   net_fnc_s opcd accept_connect(const charstr &ip, uint oid);
   // Called by outside world (main thread) to send message to us
   net_fnc opcd insertSlaveMessage(net_in int value);
private:
   // pointer to our owner, used for sending messages to him
   CMaster_client* masterThread;
};
